//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.baidu.trace;

import android.app.Notification;
import android.text.TextUtils;

public class Trace {
    private long f = 0L;
    private String g = "";
    private boolean h = false;
    private Notification i = null;
    protected static int a = 5;
    protected static int b = 30;
    protected static int c = 0;
    protected static int d = 600000;
    protected static String e = "";

    public long getServiceId() {
        return this.f;
    }

    public void setServiceId(long var1) {
        this.f = var1;
    }

    public String getEntityName() {
        return this.g;
    }

    public void setEntityName(String var1) {
        this.g = var1;
        if(!TextUtils.isEmpty(var1)) {
            e = var1;
        }

    }

    public boolean isNeedObjectStorage() {
        return this.h;
    }

    public void setNeedObjectStorage(boolean var1) {
        this.h = var1;
    }

    protected static boolean a(int var0, int var1) {
        if(var0 > 0 && var0 <= 300 && var1 >= var0 && var1 >= 2 && var1 <= 300 && var1 % var0 == 0) {
            a = var0;
            b = var1;
            return true;
        } else {
            return false;
        }
    }

    protected static boolean a(int var0) {
        if(var0 < 50) {
            return false;
        } else {
            c = var0;
            return true;
        }
    }

    protected static boolean b(int var0) {
        if(var0 <= 0) {
            return false;
        } else {
            d = var0;
            return true;
        }
    }

    public void setNotification(Notification var1) {
        this.i = var1;
    }

    public Notification getNotification() {
        return this.i;
    }

    public Trace() {
    }

    public Trace(long var1, String var3) {
        this.f = var1;
        this.setEntityName(var3);
    }

    public Trace(long var1, String var3, boolean var4) {
        this.f = var1;
        this.h = var4;
        this.setEntityName(var3);
    }

    public Trace(long var1, String var3, boolean var4, Notification var5) {
        this.f = var1;
        this.g = var3;
        this.h = var4;
        this.i = var5;
    }
}
